package com.gitee.zhanyao.common.service.entity.system;

import com.gitee.zhanyao.common.service.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色权限
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "sys_role_authority")
public class SysRoleAuthority extends BaseEntity implements Serializable {

    /**
     * 主键
     */
    private String id;
    /**
     * 角色主键
     */
    private String roleId;
    /**
     * 权限主键
     */
    private String authorityId;

}
